import req from '../../api/axiosPackage.js';                 //连接接口文件
//import cookies from 'vue-cookies';
export function list({ pageNo, pageSize }) {
    console.log(pageNo);
    console.log(pageSize);
    return req({
        url: '/GetRandomString',
        method: 'get',
    })
}

export function PostLogin({ username }) {
    return req({
        url: '/PostLogin',
        method: 'post',
        data: {
            Username: username
        },
    })
}

export function Seltest({ type }) {
    var postdata = { type: type };
    return req({
        url: '/PostMySQLTest',
        method: 'post',
        data: postdata
    })
}

export function Instest({ type }) {
    var postdata = { type: type };
    return req({
        url: '/PostMySQLTest',
        method: 'post',
        data: postdata
    })
}
